package com.canbot.u05.activity.presidemode.newcode.bean;

public enum EDirection {
    UP(0),
    DOWN(1),
    LEFT(2),
    RIGHT(3),
    NONE(4);

    EDirection(int i) {
    }

    public static EDirection getName(int value) {
        switch (value) {
            case 0:
                return UP;
            case 1:
                return DOWN;
            case 2:
                return LEFT;
            case 3:
                return RIGHT;
            default:
                return NONE;
        }
    }
}
